package com.caishi.lkx.exam.util.pojo;








import com.caishi.lkx.exam.ienum.type.QuestionType;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

// 题干，题型，选项，解析，答案
public class Question<T> {
    private QuestionType questionType;
    private String title;
    private List<Map<String,String>> options=new ArrayList<>();
    private String analysis;
    private int num;
    private List<Map<String,Object>> answerDesc=new ArrayList<>();;
    private List<Map<String,Object>> stem=new ArrayList<>();;
    private List<Map<String,Object>> quOption=new ArrayList<>();


    //    是List或者String
    private T answers;

    public List<Map<String, Object>> getAnswerDesc() {
        return answerDesc;
    }

    public void setAnswerDesc(List<Map<String, Object>> answerDesc) {
        this.answerDesc = answerDesc;
    }

    public List<Map<String, Object>> getStem() {
        return stem;
    }

    public void setStem(List<Map<String, Object>> stem) {
        this.stem = stem;
    }

    public List<Map<String, Object>> getQuOption() {
        return quOption;
    }

    public void setQuOption(List<Map<String, Object>> quOption) {
        this.quOption = quOption;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public QuestionType getQuestionType() {
        return questionType;
    }

    public void setQuestionType(QuestionType questionType) {
        this.questionType = questionType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<Map<String, String>> getOptions() {
        return options;
    }

    public void setOptions(List<Map<String, String>> options) {
        this.options = options;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public T getAnswers() {
        return answers;
    }

    public void setAnswers(T answers) {
        this.answers = answers;
    }
}


